<?php

include_once '../control/conexao.php';
include_once '../model/submenuDAO.class.php';
include_once '../model/submenu.class.php';

$submenu = new submenu();
$submenu->id_submenu = $_GET['id'];
$submenuDAO = new submenuDAO();
$submenuDAO->excluir($submenu);
